package com.nervenets.web.controller.building;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Positive;
import java.io.Serializable;

@Data
public class DataDownloadParams implements Serializable {
    @ApiModelProperty(value = "开发商ID", required = true)
    @Positive(message = "请选择正确的开发商")
    private long managerId;
    @ApiModelProperty(value = "楼盘ID", required = true)
    @Positive(message = "请选择正确的楼盘")
    private long buildingId;
}
